
Switch>Base ethernet MAC Address: 00:12:43:4e:81:00

Xmodem file system is available.

The password-recovery mechanism is enabled.

Initializing Flash...

flashfs[0]: 84 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 15998976

flashfs[0]: Bytes used: 7004160

flashfs[0]: Bytes available: 8994816

flashfs[0]: flashfs fsck took 16 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Loading "flash:c3550-i9q3l2-mz.121-22.EA1a/c3550-i9q3l2-mz.121-22.EA1a.bin"...############################################################################################################################################################################################################################################################################################################################################################################################################################


File "flash:c3550-i9q3l2-mz.121-22.EA1a/c3550-i9q3l2-mz.121-22.EA1a.bin" uncompressed and installed, entry point: 0x3000

executing...
              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco Internetwork Operating System Software 
IOS (tm) C3550 Software (C3550-I9Q3L2-M), Version 12.1(22)EA1a, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 20-Aug-04 00:30 by yenanh
Image text-base: 0x00003000, data-base: 0x006C5C6C


Initializing flashfs...
flashfs[1]: 84 files, 4 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 7004160
flashfs[1]: Bytes available: 8994816
flashfs[1]: flashfs fsck took 8 seconds.
flashfs[1]: Initialization complete.
...done Initializing flashfs.
POST: CPU Buffer Tests : Begin
POST: CPU Buffer Tests : End, Status Passed
POST: CPU Interface Tests : Begin
POST: CPU Interface Tests : End, Status Passed
POST: Switch Core Tests : Begin
POST: Switch Core Tests : End, Status Passed
POST: CPU Interface 2nd Stage Tests : Begin
POST: CPU Interface 2nd Stage Tests : End, Status Passed
POST: CAM Subsystem Tests : Begin
POST: CAM Subsystem Tests : End, Status Passed
POST: Ethernet Controller Tests : Begin
POST: Ethernet Controller Tests : End, Status Passed
POST: Loopback Tests : Begin
POST: Loopback Tests : End, Status Passed

cisco WS-C3550-24 (PowerPC) processor (revision P0) with 65526K/8192K bytes of memory.
Processor board ID CAT0840K06C
Last reset from warm-reset
Running Layer2/3 Switching Image

Ethernet-controller 1 has 12 Fast Ethernet/IEEE 802.3 interfaces

Ethernet-controller 2 has 12 Fast Ethernet/IEEE 802.3 interfaces

Ethernet-controller 3 has 1 Gigabit Ethernet/IEEE 802.3 interface

Ethernet-controller 4 has 1 Gigabit Ethernet/IEEE 802.3 interface

24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)

The password-recovery mechanism is enabled.
384K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:12:43:4E:81:00
Motherboard assembly number: 73-5700-12
Power supply part number: 34-0966-04
Motherboard serial number: CAT08400893
Power supply serial number: LIT083109PE
Model revision number: P0
Motherboard revision number: A0
Model number: WS-C3550-24-SMI
System serial number: CAT0840K06C


         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: o no
00:00:36: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:00:41: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software 
IOS (tm) C3550 Software (C3550-I9Q3L2-M), Version 12.1(22)EA1a, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 20-Aug-04 00:30 by yenanh
00:00:41: %SNMP-5-COLDSTART: SNMP agent on host Switch is undergoing a cold start



Press RETURN to get started!


Switch>
00:00:48: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
00:00:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to downe 
Switch>en
Switch#
Switch#hosta  st     show run
Building configuration...

Current configuration : 1995 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport mode dynamic desirable
 --More--         !
interface FastEthernet0/2
 switchport mode dynamic desirable
!
interface FastEthernet0/3
 switchport mode dynamic desirable
!
interface FastEthernet0/4
 switchport mode dynamic desirable
!
interface FastEthernet0/5
 switchport mode dynamic desirable
!
interface FastEthernet0/6
 switchport mode dynamic desirable
!
interface FastEthernet0/7
 switchport mode dynamic desirable
!
interface FastEthernet0/8
 switchport mode dynamic desirable
!
interface FastEthernet0/9
 --More--          switchport mode dynamic desirable
!
interface FastEthernet0/10
 switchport mode dynamic desirable
!
interface FastEthernet0/11
 switchport mode dynamic desirable
!
interface FastEthernet0/12
 switchport mode dynamic desirable
!
interface FastEthernet0/13
 switchport mode dynamic desirable
!
interface FastEthernet0/14
 switchport mode dynamic desirable
!
interface FastEthernet0/15
 switchport mode dynamic desirable
!
interface FastEthernet0/16
 switchport mode dynamic desirable
!
 --More--         interface FastEthernet0/17
 switchport mode dynamic desirable
!
interface FastEthernet0/18
 switchport mode dynamic desirable
!
interface FastEthernet0/19
 switchport mode dynamic desirable
!
interface FastEthernet0/20
 switchport mode dynamic desirable
!
interface FastEthernet0/21
 switchport mode dynamic desirable
!
interface FastEthernet0/22
 switchport mode dynamic desirable
!
interface FastEthernet0/23
 switchport mode dynamic desirable
!
interface FastEthernet0/24
 switchport mode dynamic desirable
 --More--         !
interface GigabitEthernet0/1
 switchport mode dynamic desirable
!
interface GigabitEthernet0/2
 switchport mode dynamic desirable
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip http server
!
!
line con 0
line vty 5 15
!
!
end

Switch#con  f t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname weixiulou-2
weixiulou-2(config)#!
weixiulou-2(config)#
weixiulou-2(config)#
weixiulou-2(config)#vlan 1
weixiulou-2(config-vlan)# name VLAN1_netmanager
Default VLAN 1 may not have its name changed.
weixiulou-2(config-vlan)#vlan 2
weixiulou-2(config-vlan)# name VLAN2_server
weixiulou-2(config-vlan)#vlan 5
weixiulou-2(config-vlan)# name VLAN5_information
weixiulou-2(config-vlan)#vlan 6
weixiulou-2(config-vlan)# name VLAN6_manager
weixiulou-2(config-vlan)#vlan 7
weixiulou-2(config-vlan)# name VLAN7_
weixiulou-2(config-vlan)#vlan 8
weixiulou-2(config-vlan)# name VLAN8_
weixiulou-2(config-vlan)#vlan 9
weixiulou-2(config-vlan)# name VLAN9_
weixiulou-2(config-vlan)#!
weixiulou-2(config-vlan)#vlan 10
weixiulou-2(config-vlan)# name VLAN10_OLD_NETWORK
weixiulou-2(config-vlan)#
weixiulou-2(config-vlan)#vlan 11
weixiulou-2(config-vlan)# name VLAN11
weixiulou-2(config-vlan)#vlan 12
weixiulou-2(config-vlan)# name VLAN12
weixiulou-2(config-vlan)#vlan 13
weixiulou-2(config-vlan)# name VLAN13_pix
weixiulou-2(config-vlan)#
weixiulou-2(config-vlan)#
weixiulou-2(config-vlan)#
weixiulou-2(config-vlan)#interface FastEthernet0/1
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/2
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/3
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/4
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/5
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/6
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/7
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/8
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/9
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/10
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/11
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/12
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/13
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/14
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/15
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/16
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/17
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/18
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/19
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/20
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/21
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/22
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/23
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface FastEthernet0/24
weixiulou-2(config-if)# switchport access vlan 10
weixiulou-2(config-if)# switchport mode access
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface GigabitEthernet0/1
weixiulou-2(config-if)# switchport trunk encapsulation dot1q
weixiulou-2(config-if)# switchport mode trunk
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface GigabitEthernet0/2
weixiulou-2(config-if)# switchport trunk encapsulation dot1q
weixiulou-2(config-if)# switchport mode trunk
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#!
weixiulou-2(config-if)#interface Vlan1
weixiulou-2(config-if)# ip address 192.168.10.10 255.255.255.0
weixiulou-2(config-if)# no shutdown
weixiulou-2(config-if)#
weixiulou-2(config-if)#!
weixiulou-2(config-if)#
weixiulou-2(config-if)#ip classless
weixiulou-2(config)#ip http server
weixiulou-2(config)#!
weixiulou-2(config)#ip route 0.0.0.0 0.0.0.0 192.168.10.7
weixiulou-2(config)#
weixiulou-2(config)#!
weixiulou-2(config)#snmp-server community public RO
weixiulou-2(config)#snmp-server community private RW
weixiulou-2(config)#!
weixiulou-2(config)#line con 0
weixiulou-2(config-line)#line vty 0 4
weixiulou-2(config-line)# password wo******tbg
weixiulou-2(config-line)# login
weixiulou-2(config-line)#line vty 5 15
weixiulou-2(config-line)# login
% Login disabled on line 6, until 'password' is set
% Login disabled on line 7, until 'password' is set
% Login disabled on line 8, until 'password' is set
% Login disabled on line 9, until 'password' is set
% Login disabled on line 10, until 'password' is set
% Login disabled on line 11, until 'password' is set
% Login disabled on line 12, until 'password' is set
% Login disabled on line 13, until 'password' is set
% Login disabled on line 14, until 'password' is set
% Login disabled on line 15, until 'password' is set
% Login disabled on line 16, until 'password' is set
weixiulou-2(config-line)#
weixiulou-2(config-line)#
00:05:50: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
weixiulou-2(config-line)#
weixiulou-2(config-line)#
weixiulou-2(config-line)#
weixiulou-2(config-line)#exit
weixiulou-2(config)#exit
weixiulou-2#show 
00:05:59: %SYS-5-CONFIG_I: Configured from console by consolerun
Building configuration...

Current configuration : 2602 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname weixiulou-2
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 --More--          switchport mode access
 --More--         !
 --More--         interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 switchport access vlan 10
 switchport mode access
 --More--         !
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/10
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/11
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/12
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/13
 switchport access vlan 10
 --More--          switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/19
 --More--          switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport access vlan 10
 switchport mode access
!
 --More--         interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan1
 ip address 192.168.10.10 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.7
ip http server
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
line vty 0 4
 password w*******bg
 login
line vty 5 15
 --More--          login
!
!
end

weixiulou-2#ping  192.168.10.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
weixiulou-2#quit

































weixiulou-2 con0 is now available





Press RETURN to get started.








weixiulou-2>wr mme  em
             ^
% Invalid input detected at '^' marker.

weixiulou-2>en
weixiulou-2#re    wr mem
Building configuration...
[OK]
weixiulou-2#dir
Directory of flash:/

    2  -rwx           0  Jan 01 1970 00:02:05 +00:00  env_vars
    3  -rwx         344  Jan 01 1970 00:02:05 +00:00  system_env_vars
    4  -rwx        1156  Mar 01 1993 00:05:42 +00:00  vlan.dat
    5  -rwx        2602  Mar 01 1993 00:06:43 +00:00  config.text
    6  -rwx          25  Mar 01 1993 00:06:43 +00:00  private-config.text
    8  drwx         192  Mar 01 1993 00:08:02 +00:00  c3550-i9q3l2-mz.121-22.EA1a
    7  -rwx        1048  Mar 01 1993 00:06:43 +00:00  multiple-fs

15998976 bytes total (8987648 bytes free)
weixiulou-2#more  config.text
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname weixiulou-2
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
!
 --More--         interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 switchport access vlan 10
 switchport mode access
 --More--         !
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/10
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/11
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/12
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/13
 switchport access vlan 10
 --More--          switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/19
 --More--          switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport access vlan 10
 switchport mode access
!
 --More--         interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan1
 ip address 192.168.10.10 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.7
ip http server
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
line vty 0 4
 password wonjointbg
 login
line vty 5 15
 --More--          login
!
!
end

weixiulou-2# ping  192.168.10.10                    show run
Building configuration...

Current configuration : 2602 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname weixiulou-2
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 --More--          switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 --More--          switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/10
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/11
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/12
 switchport access vlan 10
 switchport mode access
!
 --More--         interface FastEthernet0/13
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport mode access
 --More--         !
interface FastEthernet0/19
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport access vlan 10
 --More--          switchport mode access
!
interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan1
 ip address 192.168.10.10 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.7
ip http server
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
line vty 0 4
 password wonjointbg
 --More--          login
line vty 5 15
 login
!
!
end

weixiulou-2#
00:08:18: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up
00:08:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
00:08:20: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down
00:08:23: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up
00:08:24: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
weixiulou-2#ping  192.168.10.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
weixiulou-2#ping 10.138.208.42

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.138.208.42, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
weixiulou-2#
00:09:47: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
00:09:48: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down
00:09:50: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to up
00:09:51: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up    
weixiulou-2#
weixiulou-2#
weixiulou-2#
weixiulou-2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
weixiulou-2(config)#inter fa  et  
% Incomplete command.

weixiulou-2(config)#
weixiulou-2(config)#quit
                      ^
% Invalid input detected at '^' marker.

weixiulou-2(config)#exit
weixiulou-2#show run
Building configuration...

Current configuration : 2602 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname weixiulou-2
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 --More-- 
00:10:04: %SYS-5-CONFIG_I: Configured from console by console         switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 --More--          switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/10
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/11
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/12
 switchport access vlan 10
 switchport mode access
!
 --More--         interface FastEthernet0/13
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport mode access
 --More--         !
interface FastEthernet0/19
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport access vlan 10
 --More--          switchport mode access
!
interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan1
 ip address 192.168.10.10 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.7
ip http server
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
line vty 0 4
 password wonjointbg
 --More--          login
line vty 5 15
 login
!
!
end

weixiulou-2#
weixiulou-2#
weixiulou-2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
weixiulou-2(config)#interface FastEthernet0/24
weixiulou-2(config-if)#no switchport access vlan 10
weixiulou-2(config-if)#show run
                         ^
% Invalid input detected at '^' marker.

weixiulou-2(config-if)#exit
weixiulou-2(config)#shw run     ow run
                      ^
% Invalid input detected at '^' marker.

weixiulou-2(config)# exit
weixiulou-2#show run
Building configuration...

00:10:53: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 2575 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname weixiulou-2
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 --More--          switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 --More--          switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/10
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/11
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/12
 switchport access vlan 10
 switchport mode access
!
 --More--         interface FastEthernet0/13
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport mode access
 --More--         !
interface FastEthernet0/19
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport mode access
 --More--         !
interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan1
 ip address 192.168.10.10 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.7
ip http server
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
line vty 0 4
 password wonjointbg
 login
 --More--         line vty 5 15
 login
!
!
end

weixiulou-2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
weixiulou-2(config)#inter fas
00:11:14: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up0          
weixiulou-2(config)#con   exit
weixiulou-2#inter
00:11:23: %SYS-5-CONFIG_I: Configured from console by console fa
            ^
% Invalid input detected at '^' marker.

weixiulou-2#int   confi  t
Enter configuration commands, one per line.  End with CNTL/Z.
weixiulou-2(config)#c inter fase0/24
                             ^
% Invalid input detected at '^' marker.

weixiulou-2(config)#in  inter fast0/24
weixiulou-2(config-if)#no switchport mode access
weixiulou-2(config-if)#quit
                       ^
% Invalid input detected at '^' marker.

weixiulou-2(config-if)#
00:11:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
00:11:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to downexit
weixiulou-2(config)#exi
weixiulou-2#
00:11:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
00:11:57: %SYS-5-CONFIG_I: Configured from console by console
weixiulou-2#
weixiulou-2#show run
Building configuration...

Current configuration : 2586 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname weixiulou-2
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 --More--          switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 --More--          switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/10
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/11
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/12
 switchport access vlan 10
 switchport mode access
!
 --More--         interface FastEthernet0/13
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport mode access
 --More--         !
interface FastEthernet0/19
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport mode dynamic desirable
 --More--         !
interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan1
 ip address 192.168.10.10 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.7
ip http server
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
line vty 0 4
 password wonjointbg
 login
 --More--         line vty 5 15
 login
!
!
end

weixiulou-2#
00:12:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
weixiulou-2#
weixiulou-2#
weixiulou-2#
weixiulou-2#ping  192.168.10.42

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.42, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
weixiulou-2#confi  t
Enter configuration commands, one per line.  End with CNTL/Z.
weixiulou-2(config)#enable secret wonjoint
weixiulou-2(config)#quit
                      ^
% Invalid input detected at '^' marker.

weixiulou-2(config)#exit
weixiulou-2#
00:14:57: %SYS-5-CONFIG_I: Configured from console by consoles
% Type "show ?" for a list of subcommands
weixiulou-2#
weixiulou-2#
weixiulou-2#save
Translating "save"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
weixiulou-2#y
Translating "y"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
weixiulou-2#
weixiulou-2#wr mem
Building configuration...
[OK]
weixiulou-2#